package examples.ld;

public class Container {

    private double _weight;
    private int _type;
    private int _id;
    private int _port;
    private int _pos;

    public Container(int id, int type, int port, double a_weight, int position) {
        _weight = a_weight;
        _type = type;
        _id = id;
        _port = port;
        _pos = position;
    }

    public double getWeight() {
        return _weight;
    }

    public int getPort() {
        return _port;
    }

    public int getId() {
        return _id;
    }

    public int getType() {
        return _type;
    }

    public int getPosition() {
        return _pos;
    }

    public void setPosition(int pos) {
        this._pos = pos;
    }
}
